<style>
  .font{
    font-size: 40px;
    text-shadow: 0 0 2px black;
    color: #33CCCC;
    text-align: center;
  }
</style>
<template>
  <div style="color: #666;font-size: 14px;">
    <div style="padding-bottom: 20px">
      <b>用户：{{ user.nickname }}</b>
    </div>
  <div class="font">
    <i>欢迎使用仓库管理系统</i><br>
  </div>
    <div style="height: 1px; background: #ddd; margin: 20px 0"/>

  </div>
</template>

<script>
export default {
  name: "Home",

  data() {

    return {
      user: localStorage.getItem("user") ? JSON.parse(localStorage.getItem("user")) : {}
    }
  }
}

</script>
